//初始诊断意见信息显示区域
function initReportInfoTable(reportInfo){
	if(reportInfo){
		$('#reportInfo_table').find('span').each(function(index,item){
			var bindname = $(item).attr('bindname');
			if(bindname){
				$(item).html(transItemCode(bindname,reportInfo[bindname]));
			}
		})
	}
}

//初始化表单项
function initReportInfoForm(reportInfo){
	$('#reportInfoForm').validation();
	if(reportInfo){
		$('#reportInfoForm').bindData(reportInfo);
	}
}

//收集报告表单数据
function collectReportForm(){
	return {
		reportInfo:$('#reportInfoForm').collect()
	};
}